Radio 单选框 |
您所在的位置:网站首页 › element ui单选框 打叉 › Radio 单选框 |
Radio 单选框 # 在一组备选项中进行单选 基础用法 #单选框不应该有太多的可选项, 如果你有很多的可选项你应该使用选择框而不是单选框。 禁用状态 #disabled 属性可以用来控制单选框的禁用状态。 单选框组 #适用于在多个互斥的选项中选择的场景 按钮样式 #你可以让单选框看起来像一个按钮一样。 带有边框 #Radio API #Radio Attributes #属性名说明类型默认值model-value / v-model选中项绑定值string / number / boolean—label单选框的值string / number / boolean—disabled是否禁用单选框booleanfalseborder是否显示边框booleanfalsesize单选框的尺寸enum—name原始 name 属性string—Radio Events #事件名说明类型change绑定值变化时触发的事件FunctionRadio Slots #插槽名说明default自定义默认内容RadioGroup API #RadioGroup Attributes #属性名说明类型默认值model-value / v-model绑定值string / number / boolean—size单选框按钮或边框按钮的大小stringdefaultdisabled是否禁用booleanfalsetext-color按钮形式的 Radio 激活时的文本颜色string#fffffffill按钮形式的 Radio 激活时的填充色和边框色string#409EFFvalidate-event输入时是否触发表单的校验booleantruelabel a11y与 RadioGroup 中的 aria-label 属性相同string—name原生 name 属性string—id原生 id 属性string—RadioGroup Events #事件名说明类型change绑定值变化时触发的事件FunctionRadioGroup Slots #插槽名说明子标签default自定义默认内容Radio / RadioButtonRadioButton API #RadioButton Attributes #属性名说明类型默认label单选框的值string / number / boolean—disabled是否禁用单选框booleanfalsename原生 name 属性string—RadioButton Slots #插槽名说明default默认插槽内容源代码 #组件 • 文档 贡献者 # 云游君 Jeremy 三咲智子 Xc Delyan Haralanov undefined-design kooriookami msidolphin qiang Jason Ren LIUCHAO Hefty zz 류한경 opengraphica bqy on the field of hope Hades-li Lee |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |